package zyc.pojo;

/**
 * @description:
 * @author: Code-zyc
 * @date: Created in 2020/12/21 9:44
 * @version: 1.0
 * @modified By:
 */
public class Student {
    private Integer id;
    private Integer sid;
    private String password;
    private String name;
    private  Double math;
    private String email;
    private Teacher teacher;

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", sid=" + sid +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", math=" + math +
                ", email='" + email + '\'' +
                '}';
    }

    public Student(Integer id, Integer sid, String password, String name, Double math, String email) {
        this.id = id;
        this.sid = sid;
        this.password = password;
        this.name = name;
        this.math = math;
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }





    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Student(Integer id, Integer sid, String name, Double math) {
        this.id = id;
        this.sid = sid;
        this.name = name;
        this.math = math;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getMath() {
        return math;
    }

    public void setMath(Double math) {
        this.math = math;
    }



    public Student() {
    }
}
